<script type="text/javascript" src="{{ asset('bundles/lettraluser/js/jquery.address.js') }}"></script>

<div class="form" id="address"> 
    <h2>Modifier une adresse</h2>

    <div class="clr"></div>
    <div class="error_summary" style="display:none;"></div>
        <form id="addressForm" action="{{ path('user_contact_edit', { 'id': id }) }}" {{ form_enctype(form) }} method="POST" novalidate class="address_edit">
            {{ form_label(form.adresse) }} {{ form_widget(form.adresse) }} {{ form_errors(form.adresse) }}<br />
            {{ form_label(form.cp) }} {{ form_widget(form.cp) }} {{ form_errors(form.cp) }}<br />
            {{ form_label(form.ville) }} {{ form_widget(form.ville) }} {{ form_errors(form.ville) }}<br />
            {{ form_rest(form) }} 
            <input type="submit" value="Valider" id="addressSubmit" class="button" />
        </form>
</div>